/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.yuecai.modules.yc_order_goods.service.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
* @website https://el-admin.vip
* @description /
* @author DM
* @date 2020-06-26
**/
@Data
public class YcOrderGoodsDto implements Serializable {

    private Long id;

    /** 订单编号 */
    private String orderSn;

    /** 商品ID */
    private Long goodsId;

    /** 名称 */
    private String goodsName;

    /** 主图 */
    private String img;

    /** 数量 */
    private Integer count;

    /** 单位名 */
    private String unitName;

    /** 原价 */
    private BigDecimal originalPrice;

    /** 销售价 */
    private BigDecimal sellPrice;


    private String unit;

    private BigDecimal unitPrice;

    /** vip折扣 例：八折填80 */
    private BigDecimal vipDiscount;

    /** 活动id */
    private Long activityId;

    /** 活动详情 */
    private String activityDetails;

    /** 活动名称 */
    private String activityName;

    /** 创建时间 */
    private Timestamp createTime;
}